package com.zy.annotation;

import com.zy.scanning.RuleComponentRegister;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author hanhuafeng
 * @version V1.0
 * @description
 * @date 2023/7/17
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target(ElementType.TYPE)
@Import({RuleComponentRegister.class})
public @interface FlowCmpScan {
    /**
     * 启动类上面@SectionScan(basePackages={"扫描的类路径"}) 类似@ComponentScan(basePackages = {"com.zy.*"})
     *
     * @return 扫描的类路径
     */
    String[] basePackages() default {};
}
